package com.yike.user.service;

import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;
import com.yike.user.entity.AgentWithdrawalApply;
import com.yike.user.param.*;
import com.yike.user.vo.*;

/**
 * 代理商提现申请表 服务类
 *
 * @author Sakura
 * @since 2024-09-23
 */
public interface PlatformWithdrawalService extends BaseService<AgentWithdrawalApply> {

    String getWithdrawalRate() throws Exception;

    boolean setWithdrawalRate(SetWithdrawalParam setWithdrawalParam) throws Exception;

    boolean withdrawalCheck(AgentWithdrawalCheckParam agentWithdrawalCheckParam) throws Exception;

    boolean batchCheck(BatchWithdrawalCheckParam batchWithdrawalCheckParam) throws Exception;

    PlatformWithdrawalApplyVo getPlatformWithdrawalApply(Long id) throws Exception;

    Paging<PlatformWithdrawalApplyVo> getPlatformWithdrawalApplyPageList(PlatformWithdrawalApplyPageParam platformWithdrawalApplyPageParam) throws Exception;

    Paging<PlatformWithdrawalVo> getWithdrawalAccountList(PlatformWithdrawalPageParam platformWithdrawalPageParam) throws Exception;

    PlatformWithdrawalVo getWithdrawalInfo(Long id) throws Exception;

}
